package com.splic.product.dto;

import com.splic.common.annotation.Excel;
import com.splic.product.domain.Device;
import lombok.Data;

import java.util.Objects;

/**
 * ==========================
 * 开发：singe
 * 创建时间：2022-03-11 23:22
 * 版本: 1.0
 * 描述：TODO
 * ==========================
 */
@Data
public class DeviceDto extends Device {

    public String userIdentify;

    /** 应用包秘钥 */
    @Excel(name = "应用包秘钥")
    private String packageKey;

    /** 事件参数 */
    private String event;

    @Override
    public String toString(){
        return "{'deviceIdentify':'"+super.getDeviceIdentify()
                +"','version':'"+super.getVersion()
                +"','packageKey':'"+getPackageKey()
                +"','deviceId':'"+getId()
                +"','appPackage':'"+getAppPackage()
                +"','channelId':'"+getChannelId()
                +"','userIdentify':'"+getUserIdentify()
                +"','androidId':'"+getAndroidId()
                +"','imei':'"+getImei()
                +"','mac':'"+getMac()
                +"','oaid':'"+getOaid()
                +"','vaid':'"+getVaid()
                +"','gaid':'"+getGaid()
                +"','baseOS':'"+getBaseOs()
                +"','branchOS':'"+getBranchOs()
                +"'}";
    }
}
